﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="RssManagement.aspx.cs" Inherits="_1041326_1041339_1041433.UserPages.Reader" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="page2">
        <div class="wrapper">
            <div class="col-2">
                <div class="sub">
                    <%--<span class="bt-subscribe" role="button">SUBSCRIBE</span>--%>
                    <%--   <input class="bt-subscribe" id="btnSub" type="button" value="SUBSCRIBE" />--%>
                </div>
                <%--
                <script src="../Scripts/RSSscript.js" type="text/javascript"></script>
                --%>
                <div id="Div1" class="col-1">
                    <div id="Div2" class="col-1">
                    </div>
                </div>
                <%--
              end add--%>
                <h3>
                    Subscriptions</h3>
                <asp:GridView ID="gvMenu" runat="server" AutoGenerateColumns="False" ShowHeader="False"
                    CellPadding="4" ForeColor="#333333" GridLines="None">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "/UserPages/RssManagement.aspx?id="+Eval("Link") %>' 
                                    Text='<%# Eval("Link") %>'></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                    <SortedAscendingCellStyle BackColor="#FDF5AC" />
                    <SortedAscendingHeaderStyle BackColor="#4D0000" />
                    <SortedDescendingCellStyle BackColor="#FCF6C0" />
                    <SortedDescendingHeaderStyle BackColor="#820000" />
                </asp:GridView>
            </div>
            <div id="quick-add-bubble-holder">
                SUBSCRIBE:<%--
                <form id="quick-add-form" action="">--%>
                <%--   <div id="quick-add-close">
                    x</div>--%>
                <div id="quick-add-input-div">
                    <asp:TextBox ID="quickadd" Style="width: 225px; background-color: White;" runat="server"></asp:TextBox>
                </div>
                <div class="goog-button-base-content">
                    <div class="goog-button-body">
                        <asp:Button ID="btnSubcribe" runat="server" Text="Thêm" OnClick="Btn_Subcribe_Onclick" /></div>
                </div>
                <%-- </form>--%>
            </div>
            <div id="rssfield" class="col-1">
                <asp:GridView ID="gvRssList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    ForeColor="#333333" GridLines="None" ShowHeader="False" AllowPaging="True" PageSize="10"
                    OnPageIndexChanging="gvRssList_PageIndexChanging">
                    <AlternatingRowStyle CssClass="paddingrow" BackColor="White" />
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:HyperLink CssClass="titlenews" ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("Url") %>'
                                    Text='<%# Eval("Title") %>'></asp:HyperLink>
                                <br />
                                <%-- <asp:Image  CssClass="titlenews" ID="Image1" runat="server"
                                    ImageUrl='<%# Eval("Img") %>' />
                                <br />--%>
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("Content") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle Font-Bold="True" ForeColor="White" />
                    <HeaderStyle Font-Bold="True" ForeColor="White" />
                    <PagerStyle ForeColor="#333333" HorizontalAlign="Center" />
                    <RowStyle ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                </asp:GridView>
                <p>
                    <asp:Label ID="lbMessage" runat="server" ForeColor="Red"></asp:Label>
                </p>
            </div>
        </div>
    </div>
</asp:Content>
